Change the way the update area is tracked during paint
authorAlexander Larsson <alexl@redhat.com>
Thu, 9 Oct 2014 08:09:51 +0000 (10:09 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 13 Oct 2014 14:43:31 +0000 (10:43 -0400)
commita8f11835c5c59755c0477b289019a4cfab761628
tree4932f49d9a79e7a3daeb0cc416fc247b64f81983
parentceeed1c48db28bdf04e5d36dbb0fc24e3c702dd5
Change the way the update area is tracked during paint

First of all we track the current update area during an
update in window->active_update_area. This will be used later
in end_paint to know the damaged area.

Secondly we keep track of old update areas for the last 2
frames. This will later allow us to reuse old framebuffer
contents in double or tripple buffer setups, only painting
what has changed since then.
gdk/gdkinternals.h
gdk/gdkwindow.c